/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/*
 * DepartmentManagement.java
 *
 * Created on Oct 23, 2012, 7:32:58 PM
 */
package thienphuc.patient.screen.department;

import java.awt.Toolkit;
import thienphuc.patient.util.JTableButtonRenderer;

/**
 *
 * @author QUOCDAT
 */
public class SearchDepartment extends javax.swing.JFrame {

    /** Creates new form DepartmentManagement */
    public SearchDepartment() {
        initComponents();
    }

    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        btnGroupStatus = new javax.swing.ButtonGroup();
        panelSearchInfo = new javax.swing.JPanel();
        lblDepartmentId = new javax.swing.JLabel();
        txtDepartmentId = new javax.swing.JTextField();
        lblDepartmentName = new javax.swing.JLabel();
        btnSearch = new javax.swing.JButton();
        btnFindDepartmentName = new javax.swing.JButton();
        txtDepartmentName = new javax.swing.JTextField();
        cbxDepartmentName = new javax.swing.JComboBox();
        lblStatus = new javax.swing.JLabel();
        rdBtnActive = new javax.swing.JRadioButton();
        rbtNonActice = new javax.swing.JRadioButton();
        panelDepartmentList = new javax.swing.JPanel();
        jScrollPane1 = new javax.swing.JScrollPane();
        tableDepartmentList = new javax.swing.JTable();
        btnFirst = new javax.swing.JButton();
        btnPrevious = new javax.swing.JButton();
        btnNext = new javax.swing.JButton();
        btnLast = new javax.swing.JButton();
        lblPage = new javax.swing.JLabel();
        txtCurrentPage = new javax.swing.JTextField();
        lblTotalPage = new javax.swing.JLabel();
        lblImage01 = new javax.swing.JLabel();
        lblImage02 = new javax.swing.JLabel();
        lblImage03 = new javax.swing.JLabel();
        lblImage04 = new javax.swing.JLabel();
        jMenuBar = new javax.swing.JMenuBar();
        menuFile = new javax.swing.JMenu();

        setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
        java.util.ResourceBundle bundle = java.util.ResourceBundle.getBundle("thienphuc/patient/main/resources/departmentManagement"); // NOI18N
        setTitle(bundle.getString("thienphuc.patient.main.resources.departmentManagement.formDepartmentManagement")); // NOI18N
        setCursor(new java.awt.Cursor(java.awt.Cursor.DEFAULT_CURSOR));
        org.jdesktop.application.ResourceMap resourceMap = org.jdesktop.application.Application.getInstance(thienphuc.patient.main.ThienPhucPatientApp.class).getContext().getResourceMap(SearchDepartment.class);
        setForeground(resourceMap.getColor("Form.foreground")); // NOI18N
        setIconImage(Toolkit.getDefaultToolkit().getImage(getClass().getResource("/thienphuc/patient/images/icons16x16/hospital.png"))   );
        setName("Form"); // NOI18N

        java.util.ResourceBundle bundle1 = java.util.ResourceBundle.getBundle("thienphuc/patient/screen/department/resources/SearchDepartment"); // NOI18N
        panelSearchInfo.setBorder(javax.swing.BorderFactory.createTitledBorder(null, bundle1.getString("thienphuc.patient.screen.department.resources.SearchDepartment.panelDepartmentInfo"), javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, resourceMap.getFont("panelSearchInfo.border.titleFont"))); // NOI18N
        panelSearchInfo.setName("panelSearchInfo"); // NOI18N

        lblDepartmentId.setText(bundle1.getString("thienphuc.patient.screen.department.resources.SearchDepartment.lblDepartmentId")); // NOI18N
        lblDepartmentId.setMinimumSize(new java.awt.Dimension(100, 14));
        lblDepartmentId.setName("lblDepartmentId"); // NOI18N
        lblDepartmentId.setPreferredSize(new java.awt.Dimension(100, 14));

        txtDepartmentId.setName("txtDepartmentId"); // NOI18N

        lblDepartmentName.setText(bundle1.getString("thienphuc.patient.screen.department.resources.SearchDepartment.lblDepartmentName")); // NOI18N
        lblDepartmentName.setMaximumSize(new java.awt.Dimension(120, 14));
        lblDepartmentName.setMinimumSize(new java.awt.Dimension(100, 14));
        lblDepartmentName.setName("lblDepartmentName"); // NOI18N
        lblDepartmentName.setPreferredSize(new java.awt.Dimension(100, 14));

        btnSearch.setIcon(resourceMap.getIcon("btnSearch.icon")); // NOI18N
        btnSearch.setText(bundle1.getString("thienphuc.patient.screen.department.resources.SearchDepartment.btnSearch")); // NOI18N
        btnSearch.setName("btnSearch"); // NOI18N

        btnFindDepartmentName.setIcon(resourceMap.getIcon("btnFindDepartmentName.icon")); // NOI18N
        btnFindDepartmentName.setName("btnFindDepartmentName"); // NOI18N

        txtDepartmentName.setEnabled(false);
        txtDepartmentName.setName("txtDepartmentName"); // NOI18N

        cbxDepartmentName.setName("cbxDepartmentName"); // NOI18N

        lblStatus.setText(bundle1.getString("thienphuc.patient.screen.department.resources.SearchDepartment.lblStatus")); // NOI18N
        lblStatus.setName("lblStatus"); // NOI18N

        btnGroupStatus.add(rdBtnActive);
        rdBtnActive.setSelected(true);
        rdBtnActive.setText(bundle1.getString("thienphuc.patient.screen.department.resources.SearchDepartment.rdBtnActive")); // NOI18N
        rdBtnActive.setName("rdBtnActive"); // NOI18N

        btnGroupStatus.add(rbtNonActice);
        rbtNonActice.setText(bundle1.getString("thienphuc.patient.screen.department.resources.SearchDepartment.rdBtnNonActive")); // NOI18N
        rbtNonActice.setName("rbtNonActice"); // NOI18N

        javax.swing.GroupLayout panelSearchInfoLayout = new javax.swing.GroupLayout(panelSearchInfo);
        panelSearchInfo.setLayout(panelSearchInfoLayout);
        panelSearchInfoLayout.setHorizontalGroup(
            panelSearchInfoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(panelSearchInfoLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(panelSearchInfoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(panelSearchInfoLayout.createSequentialGroup()
                        .addGroup(panelSearchInfoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                            .addComponent(btnSearch)
                            .addGroup(javax.swing.GroupLayout.Alignment.LEADING, panelSearchInfoLayout.createSequentialGroup()
                                .addComponent(lblDepartmentId, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addComponent(txtDepartmentId, javax.swing.GroupLayout.PREFERRED_SIZE, 160, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addComponent(btnFindDepartmentName, javax.swing.GroupLayout.PREFERRED_SIZE, 22, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addComponent(txtDepartmentName, javax.swing.GroupLayout.PREFERRED_SIZE, 300, javax.swing.GroupLayout.PREFERRED_SIZE)))
                        .addContainerGap())
                    .addGroup(panelSearchInfoLayout.createSequentialGroup()
                        .addGroup(panelSearchInfoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
                            .addComponent(lblStatus, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                            .addComponent(lblDepartmentName, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(panelSearchInfoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                            .addGroup(panelSearchInfoLayout.createSequentialGroup()
                                .addComponent(rdBtnActive)
                                .addGap(12, 12, 12)
                                .addComponent(rbtNonActice))
                            .addComponent(cbxDepartmentName, 0, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                        .addContainerGap(308, Short.MAX_VALUE))))
        );
        panelSearchInfoLayout.setVerticalGroup(
            panelSearchInfoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(panelSearchInfoLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(panelSearchInfoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(panelSearchInfoLayout.createSequentialGroup()
                        .addGroup(panelSearchInfoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(panelSearchInfoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                                .addComponent(lblDepartmentId, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addComponent(txtDepartmentId, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                            .addComponent(btnFindDepartmentName, javax.swing.GroupLayout.PREFERRED_SIZE, 22, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(panelSearchInfoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(cbxDepartmentName, javax.swing.GroupLayout.PREFERRED_SIZE, 22, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(lblDepartmentName, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addGroup(panelSearchInfoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(lblStatus)
                            .addComponent(rdBtnActive)
                            .addComponent(rbtNonActice)))
                    .addComponent(txtDepartmentName, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(13, 13, 13)
                .addComponent(btnSearch, javax.swing.GroupLayout.PREFERRED_SIZE, 25, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        panelDepartmentList.setBorder(javax.swing.BorderFactory.createTitledBorder(null, bundle1.getString("thienphuc.patient.screen.department.resources.SearchDepartment.panelDepartmentList"), javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, resourceMap.getFont("panelDepartmentList.border.titleFont"))); // NOI18N
        panelDepartmentList.setName("panelDepartmentList"); // NOI18N

        jScrollPane1.setName("jScrollPane1"); // NOI18N

        tableDepartmentList.setAutoCreateRowSorter(true);
        tableDepartmentList.setBackground(resourceMap.getColor("tableDepartmentList.background")); // NOI18N
        tableDepartmentList.setBorder(javax.swing.BorderFactory.createLineBorder(resourceMap.getColor("tableDepartmentList.border.lineColor"))); // NOI18N
        tableDepartmentList.setModel(new javax.swing.table.DefaultTableModel(
            new Object [][] {
                {null, null, null, null, null},
                {null, null, null, null, null},
                {null, null, null, null, null},
                {null, null, null, null, null},
                {null, null, null, null, null},
                {null, null, null, null, null},
                {null, null, null, null, null},
                {null, null, null, null, null},
                {null, null, null, null, null},
                {null, null, null, null, null}
            },
            new String [] {
                "STT", "Xem Chi Tiết", "Mã Phòng Ban", "Tên Phòng Ban", "Trạng Thái"
            }
        ) {
            Class[] types = new Class [] {
                java.lang.String.class, java.lang.Object.class, java.lang.String.class, java.lang.String.class, java.lang.Boolean.class
            };
            boolean[] canEdit = new boolean [] {
                false, false, false, false, false
            };

            public Class getColumnClass(int columnIndex) {
                return types [columnIndex];
            }

            public boolean isCellEditable(int rowIndex, int columnIndex) {
                return canEdit [columnIndex];
            }
        });
        tableDepartmentList.setAutoscrolls(false);
        tableDepartmentList.setName("tableDepartmentList"); // NOI18N
        jScrollPane1.setViewportView(tableDepartmentList);
        tableDepartmentList.getColumnModel().getColumn(0).setPreferredWidth(30);
        tableDepartmentList.getColumnModel().getColumn(0).setHeaderValue(bundle1.getString("thienphuc.patient.screen.department.resources.SearchDepartment.colNo")); // NOI18N
        tableDepartmentList.getColumnModel().getColumn(1).setHeaderValue(bundle1.getString("thienphuc.patient.screen.department.resources.SearchDepartment.colSelect")); // NOI18N
        tableDepartmentList.getColumnModel().getColumn(1).setCellRenderer(new JTableButtonRenderer());
        tableDepartmentList.getColumnModel().getColumn(2).setPreferredWidth(160);
        tableDepartmentList.getColumnModel().getColumn(2).setHeaderValue(bundle1.getString("thienphuc.patient.screen.department.resources.SearchDepartment.colDepartmentId")); // NOI18N
        tableDepartmentList.getColumnModel().getColumn(3).setPreferredWidth(300);
        tableDepartmentList.getColumnModel().getColumn(3).setHeaderValue(bundle1.getString("thienphuc.patient.screen.department.resources.SearchDepartment.colDepartmentName")); // NOI18N
        tableDepartmentList.getColumnModel().getColumn(4).setHeaderValue(bundle1.getString("thienphuc.patient.screen.department.resources.SearchDepartment.colStatus")); // NOI18N

        btnFirst.setIcon(resourceMap.getIcon("btnFirst.icon")); // NOI18N
        btnFirst.setText(resourceMap.getString("btnFirst.text")); // NOI18N
        btnFirst.setName("btnFirst"); // NOI18N
        btnFirst.setPreferredSize(new java.awt.Dimension(40, 16));

        btnPrevious.setIcon(resourceMap.getIcon("btnPrevious.icon")); // NOI18N
        btnPrevious.setText(resourceMap.getString("btnPrevious.text")); // NOI18N
        btnPrevious.setName("btnPrevious"); // NOI18N
        btnPrevious.setPreferredSize(new java.awt.Dimension(40, 16));

        btnNext.setIcon(resourceMap.getIcon("btnNext.icon")); // NOI18N
        btnNext.setText(resourceMap.getString("btnNext.text")); // NOI18N
        btnNext.setName("btnNext"); // NOI18N
        btnNext.setPreferredSize(new java.awt.Dimension(40, 16));

        btnLast.setIcon(resourceMap.getIcon("btnLast.icon")); // NOI18N
        btnLast.setText(resourceMap.getString("btnLast.text")); // NOI18N
        btnLast.setName("btnLast"); // NOI18N
        btnLast.setPreferredSize(new java.awt.Dimension(40, 16));

        lblPage.setText(bundle1.getString("thienphuc.patient.screen.department.resources.SearchDepartment.lblPage")); // NOI18N
        lblPage.setName("lblPage"); // NOI18N

        txtCurrentPage.setText(resourceMap.getString("txtCurrentPage.text")); // NOI18N
        txtCurrentPage.setName("txtCurrentPage"); // NOI18N

        lblTotalPage.setText(resourceMap.getString("lblTotalPage.text")); // NOI18N
        lblTotalPage.setName("lblTotalPage"); // NOI18N

        javax.swing.GroupLayout panelDepartmentListLayout = new javax.swing.GroupLayout(panelDepartmentList);
        panelDepartmentList.setLayout(panelDepartmentListLayout);
        panelDepartmentListLayout.setHorizontalGroup(
            panelDepartmentListLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(panelDepartmentListLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(panelDepartmentListLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, panelDepartmentListLayout.createSequentialGroup()
                        .addComponent(btnFirst, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(btnPrevious, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(lblPage)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(txtCurrentPage, javax.swing.GroupLayout.PREFERRED_SIZE, 32, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(lblTotalPage)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(btnNext, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(btnLast, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addComponent(jScrollPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 598, Short.MAX_VALUE))
                .addContainerGap())
        );
        panelDepartmentListLayout.setVerticalGroup(
            panelDepartmentListLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(panelDepartmentListLayout.createSequentialGroup()
                .addGroup(panelDepartmentListLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(panelDepartmentListLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(btnNext, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(btnLast, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGroup(panelDepartmentListLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(lblTotalPage)
                        .addComponent(txtCurrentPage, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(lblPage))
                    .addComponent(btnPrevious, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(btnFirst, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 187, javax.swing.GroupLayout.PREFERRED_SIZE))
        );

        lblImage01.setIcon(resourceMap.getIcon("lblImage01.icon")); // NOI18N
        lblImage01.setText(resourceMap.getString("lblImage01.text")); // NOI18N
        lblImage01.setName("lblImage01"); // NOI18N

        lblImage02.setIcon(resourceMap.getIcon("lblImage02.icon")); // NOI18N
        lblImage02.setName("lblImage02"); // NOI18N

        lblImage03.setIcon(resourceMap.getIcon("lblImage03.icon")); // NOI18N
        lblImage03.setText(resourceMap.getString("lblImage03.text")); // NOI18N
        lblImage03.setName("lblImage03"); // NOI18N

        lblImage04.setIcon(resourceMap.getIcon("lblImage04.icon")); // NOI18N
        lblImage04.setText(resourceMap.getString("lblImage04.text")); // NOI18N
        lblImage04.setName("lblImage04"); // NOI18N

        jMenuBar.setName("jMenuBar"); // NOI18N

        menuFile.setIcon(resourceMap.getIcon("menuFile.icon")); // NOI18N
        menuFile.setText(bundle.getString("thienphuc.patient.main.resources.departmentManagement.menuTuyChon")); // NOI18N
        menuFile.setName("menuFile"); // NOI18N
        jMenuBar.add(menuFile);

        setJMenuBar(jMenuBar);

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                    .addComponent(panelDepartmentList, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(panelSearchInfo, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                .addGap(60, 60, 60)
                .addComponent(lblImage01)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 74, Short.MAX_VALUE)
                .addComponent(lblImage02)
                .addGap(58, 58, 58))
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
                .addGap(28, 28, 28)
                .addComponent(lblImage03)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 125, Short.MAX_VALUE)
                .addComponent(lblImage04)
                .addGap(96, 96, 96))
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                    .addComponent(lblImage02, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, 424, Short.MAX_VALUE)
                    .addGroup(javax.swing.GroupLayout.Alignment.LEADING, layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
                        .addGroup(javax.swing.GroupLayout.Alignment.LEADING, layout.createSequentialGroup()
                            .addComponent(panelSearchInfo, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addGap(18, 18, 18)
                            .addComponent(panelDepartmentList, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addComponent(lblImage01, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(lblImage04, javax.swing.GroupLayout.DEFAULT_SIZE, 219, Short.MAX_VALUE)
                    .addComponent(lblImage03, javax.swing.GroupLayout.PREFERRED_SIZE, 216, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addContainerGap())
        );

        setBounds(0, 0, 1368, 730);
    }// </editor-fold>//GEN-END:initComponents
    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JButton btnFindDepartmentName;
    private javax.swing.JButton btnFirst;
    private javax.swing.ButtonGroup btnGroupStatus;
    private javax.swing.JButton btnLast;
    private javax.swing.JButton btnNext;
    private javax.swing.JButton btnPrevious;
    private javax.swing.JButton btnSearch;
    private javax.swing.JComboBox cbxDepartmentName;
    private javax.swing.JMenuBar jMenuBar;
    private javax.swing.JScrollPane jScrollPane1;
    private javax.swing.JLabel lblDepartmentId;
    private javax.swing.JLabel lblDepartmentName;
    private javax.swing.JLabel lblImage01;
    private javax.swing.JLabel lblImage02;
    private javax.swing.JLabel lblImage03;
    private javax.swing.JLabel lblImage04;
    private javax.swing.JLabel lblPage;
    private javax.swing.JLabel lblStatus;
    private javax.swing.JLabel lblTotalPage;
    private javax.swing.JMenu menuFile;
    private javax.swing.JPanel panelDepartmentList;
    private javax.swing.JPanel panelSearchInfo;
    private javax.swing.JRadioButton rbtNonActice;
    private javax.swing.JRadioButton rdBtnActive;
    private javax.swing.JTable tableDepartmentList;
    private javax.swing.JTextField txtCurrentPage;
    private javax.swing.JTextField txtDepartmentId;
    private javax.swing.JTextField txtDepartmentName;
    // End of variables declaration//GEN-END:variables
}
